import { login, member, pay, profile, register } from '../common';

export default [
  {
    path: '/',
    name: 'main',
    component: () => import('@/views/layout'),
    children: [
      {
        path: '/',
        name: 'home',
        component: () => import('@/views/main')
      },
      profile,
      member,
      pay
    ]
  },
  {
    path: '/pins/:id',
    name: 'pins',
    component: () => import('@/views/pins')
  },
  login,
  register
];
